package com.chixing.fourteen.repository;

import com.chixing.fourteen.pojo.ReceivingOrders;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @author Y2014188432
 */
@Repository
public interface ReceivingOrderRepository {
//    public ReceivingOrders selectById();
    public int insert(ReceivingOrders receivingOrders);
    public int updateStatus(@Param("receivingOrdersId") int receivingOrdersId,@Param("status") int status);
    public int updateGetCustomerTime(@Param("receivingOrdersId") int receivingOrdersId, @Param("getCustomerTime") Date getCustomerTime);
    public int updateOverTime(@Param("receivingOrdersId") int receivingOrdersId, @Param("overTime") Date overTime);
}
